<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PregledNaIgraci.aspx.cs" Inherits="PregledNaIgraci" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Pregled na igraci..."></asp:Label><br />
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Odberete igrac:"></asp:Label><br />
        <br />
        <asp:ListBox ID="ListBox1" runat="server" AutoPostBack="True" DataSourceID="Access"
            DataTextField="IME" DataValueField="ID" OnSelectedIndexChanged="ListBox1_SelectedIndexChanged"
            Width="101px"></asp:ListBox><asp:AccessDataSource ID="Access" runat="server" DataFile="~/App_Data/Proekt.mdb"
                SelectCommand="SELECT [IME], [ID] FROM [IGRACI]"></asp:AccessDataSource>
        <br />
        <br />
        <asp:Label ID="Label3" runat="server" Text="Imot koj go poseduva igracot:"></asp:Label><br />
        <br />
        <asp:GridView ID="GridView1" runat="server">
        </asp:GridView>
        <br />
        <asp:Label ID="Label4" runat="server"></asp:Label><br />
        <br />
        <asp:Label ID="Label5" runat="server"></asp:Label><br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="Nazad" OnClick="Button1_Click" />&nbsp;<asp:Button ID="Button2"
            runat="server" Text="Izbrisi go igracot" OnClick="Button2_Click" />&nbsp;<asp:Button ID="Button3" runat="server"
                Text="Dodadi nov igrac" OnClick="Button3_Click" /></div>
    </form>
</body>
</html>
